package com.qiwo.webshow.domain;


import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 
 * <pre>
 *  @author  chenwenchao
 *  @date 2018-10-25 17:28:10
 * 意见反馈管理
 * </pre>
 * <small> 2018-10-25 17:28:10 | chenwenchao</small>
 */
@Data
@SuppressWarnings("serial")
@TableName("tb_feedback")
@EqualsAndHashCode(callSuper=true) 
public class FeedbackDO  extends Model< FeedbackDO> implements Serializable {
	@TableId
	private Long id;

    /** 分类 */
    @ApiModelProperty("分类")
    @TableField("suggest_type")
    private String suggestType;

    /** 您的称呼 */
    @ApiModelProperty("您的称呼")
    @TableField("name")
    private String name;

    /** 电子邮件 */
    @ApiModelProperty("电子邮件")
    @TableField("email")
    private String email;

    /** 意见 */
    @ApiModelProperty("意见")
    @TableField("suggestion")
    private String suggestion;

        @Override
        protected Serializable pkVal(){
            return this.id;
        }
}
